package com.macro.mall.tiny.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class umsAdminParam {

    @Email
    @ApiModelProperty(value = "邮箱")
    private String email;

    private String icon;

    private String nickName;

    private String note;

    @NotEmpty
    @ApiModelProperty(value = "密码", required = true)
    private String password;

    @NotEmpty
    @ApiModelProperty(value = "用户名", required = true)
    private String username;
}
